<template>
  <div id="Counter">
      <h3>wo zhi shi yi ge zu jian er yi </h3>
      <p>{{author}}</p>
      <p>{{count}}</p>
  </div>
</template>

<script>
    export default{
        data (){
            return {
                author : "liuyang"
            }
        },
        computed: {
            count () {
                return this.$store.state.count
            }
        }
    }
</script>
